﻿using CommunityToolkit.Mvvm.ComponentModel;

namespace Koala.Pro.ViewModels
{
    public partial class TreeViewModel<T> : ObservableObject where T : class
    {
        [ObservableProperty]
        private string _searchKey = "";

        [ObservableProperty]
        private List<T>? treeItems;

        [ObservableProperty]
        private List<T>? filteredTreeItems;

        [ObservableProperty]
        private T selectNode;
    }
}
